#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n,ws=0;
	cin>>n;
	while(n/10!=0)
	{
		ws++;
		n=n/10;
	}
	cout<<ws+1;
    return 0;
}

